package cn.com.bluemoon.daps.system.utils;

import cn.com.bluemoon.datasecurity.app.sdk.factory.RemoteDataSecurityApproveFallbackFactory;
import cn.com.bluemoon.datasecurity.app.sdk.factory.RemoteMetaDataTableExtServiceFallbackFactory;
import cn.com.bluemoon.metadata.inter.factory.MetaDataSchemaServiceFallbackFactory;
import cn.com.bluemoon.metadata.inter.factory.RegisterDapDataModelTableServiceFallbackFactory;
import cn.com.bluemoon.metadata.inter.factory.RemoteMetaDataTableServiceFallbackFactory;
import cn.com.bluemoon.metadata.inter.factory.RemoteMetaDataTaskJobServiceFallbackFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RemoteDataConfiguration {

    @Bean
    public RemoteMetaDataTableExtServiceFallbackFactory remoteMetaDataTableExtServiceFallbackFactory(){
        return new RemoteMetaDataTableExtServiceFallbackFactory();
    }

    @Bean
    public RemoteDataSecurityApproveFallbackFactory remoteDataSecurityApproveFallbackFactory(){
        return new RemoteDataSecurityApproveFallbackFactory();
    }

    @Bean
    public RemoteMetaDataTableServiceFallbackFactory remoteMetaDataTableServiceFallbackFactory(){
        return new RemoteMetaDataTableServiceFallbackFactory();
    }
}
